package com.base.common.sys.service.impl;

import org.springframework.stereotype.Service;

import com.base.common.service.ServiceImpl;
import com.base.common.sys.dao.UserMapper;
import com.base.common.sys.entity.SysUserEntity;
import com.base.common.sys.service.SysUserService;


/**
 * 用户业务层
 * @author tcq
 * @date 2017年11月12日 下午4:41:26
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<UserMapper,SysUserEntity> implements SysUserService{
	
	@Override
	public SysUserEntity login(SysUserEntity user) {
		return baseMapper.login(user);
	}

	@Override
	public SysUserEntity findByName(SysUserEntity entity) {
		return baseMapper.findByName(entity);
	}
}
